package com.ciba.demo.service;

import com.ciba.demo.pojo.UserInfo;
import com.ciba.demo.pojo.UserPlan;
import com.ciba.demo.respone.ApiRestResponse;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface PlanService {
    UserPlan getPlan(UserInfo user);

    ApiRestResponse getPlan(HttpServletRequest request, HttpServletResponse response) ;
    ApiRestResponse setPlan(HttpServletRequest request, HttpServletResponse response ) ;
    ApiRestResponse getPlans(HttpServletRequest request , HttpServletResponse response ) ;
    ApiRestResponse addPlan(HttpServletRequest request , HttpServletResponse response ) ;
}
